<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>注册用户</title>
</head>
<body>
<h1>用户注册</h1>
<form action="reg.jsp" method="post">
    <p>用户名：<input type="text" name="username" /></p>
    <p>密码：<input type="password" name="password" /></p>
    <p>确认密码：<input type="password" name="repassword" /></p>
    <p>昵称：<input type="text" name="nickname"  /></p>
    <p>性别：
        <label><input type="radio" name="sex" value="1" checked />男</label>
        <label><input type="radio" name="sex" value="0" />女</label>
    </p>
    <p>
        <button type="submit">注册</button>
    </p>

</form>
</body>
</html>